import os

APP_NAME = 'alpha'

# SERVER
PORT = 8000
DEBUG = True

# APP_ROOT
APP_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
print('APP_ROOT', APP_ROOT)

# LOG
log_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'logs')

# TORNADO
COOKIE_SECRET = '123456'
TEMPLATE_PATH = os.path.join(APP_ROOT, "templates")
LOGIN_URL = '/login'
upload_path = 'uploads'
default_404_url = '404.html'
